package com.rockcent.mall.lib.domain.enumclass;

/**
 * 文件用途
 */
public enum FileKind {
    PICTURE("普通图片", 1),
    TEXTIMG("文本图片", 2),
    ICON("头像", 1),
    COVER("封面", 2),
    IDCARD("身份证", 2),
    LICENSE("营业执照", 2),
    LOGO("LOGO", 1),
    AD("广告图片", 1),
    BACKGROUND("背景图片", 2),
    QRCODE("产品二维码", 1),
    STORE_QRCODE("核销人员二维码", 1),
    APP_QRCODE("APP二维码", 1),
    WECHAT_QRCODE("微信二维码",1);

    private String value;
    private int allowSize;
    private FileKind(String value, int allowSize) {
        this.value = value;
        this.allowSize = allowSize;
    }
    public String getValue() {
        return value;
    }
    public int getAllowSize() {
        return allowSize;
    }
}
